package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_comments
 * 
 * @author ruoyi
 * @date 2022-04-09
 */
public class TComments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String comtId;

    /** 父评论id */
    @Excel(name = "父评论id")
    private String parentId;

    /** 发表者id */
    @Excel(name = "发表者id")
    private String publisherId;

    /** 被回复者id */
    @Excel(name = "被回复者id")
    private String replyerId;

    private String subjItemId;
    /** 被评论主题id */
    @Excel(name = "被评论主题id")
    private String subjectId;

    /** 被评论内容类型( 1俱乐部 2培训学校 3 场馆 4相册) */
    @Excel(name = "被评论内容类型( 1俱乐部 2培训学校 3 场馆 4相册)")
    private Long subjectType;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long deleteFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;


    public String getSubjItemId() {
        return subjItemId;
    }

    public void setSubjItemId(String subjItemId) {
        this.subjItemId = subjItemId;
    }

    public void setComtId(String comtId)
    {
        this.comtId = comtId;
    }

    public String getComtId() 
    {
        return comtId;
    }
    public void setParentId(String parentId) 
    {
        this.parentId = parentId;
    }

    public String getParentId() 
    {
        return parentId;
    }
    public void setPublisherId(String publisherId) 
    {
        this.publisherId = publisherId;
    }

    public String getPublisherId() 
    {
        return publisherId;
    }
    public void setReplyerId(String replyerId) 
    {
        this.replyerId = replyerId;
    }

    public String getReplyerId() 
    {
        return replyerId;
    }
    public void setSubjectId(String subjectId) 
    {
        this.subjectId = subjectId;
    }

    public String getSubjectId() 
    {
        return subjectId;
    }
    public void setSubjectType(Long subjectType) 
    {
        this.subjectType = subjectType;
    }

    public Long getSubjectType() 
    {
        return subjectType;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("comtId", getComtId())
            .append("parentId", getParentId())
            .append("publisherId", getPublisherId())
            .append("replyerId", getReplyerId())
            .append("subjectId", getSubjectId())
            .append("subjectType", getSubjectType())
            .append("content", getContent())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
